package java_book;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class KyungYeon_jv_4_4 {

	public static void main ( String[] args )
		throws java.io.IOException {
		
		int jumsu;
		char hakjum;
		String iput;
		
		System.out.println("***** result *****");
		System.out.print("Input jumsu : ");
		InputStreamReader kkk = new InputStreamReader(System.in);
		BufferedReader bbb = new BufferedReader(kkk);
		iput = bbb.readLine();
		jumsu = Integer.parseInt(iput);
		
		if(jumsu >= 90)
			hakjum = 'A';
		
		else if(jumsu >= 80)
			hakjum = 'B';
		
		else if ( jumsu >= 70 )
			hakjum = 'C';
		
		else if ( jumsu >= 60 )
			hakjum = 'D';
		
		else
			hakjum = 'F';
		
		System.out.println("Hakjum : "+hakjum);
		
	}
}
